using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Admin.Controls.Common
{
    public partial class Menu : System.Web.UI.UserControl
    {
        public string selected = "selected";
        public string homepage, news, file = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            string request = Request.Url.AbsoluteUri.ToLower();
            if (request.Contains("editnews.aspx") || request.Contains("listnews.aspx")) news = selected;
            else if (request.Contains("filemanager.aspx")) file = selected;
            else homepage = selected;
        }
    }
}